#ifndef _SINGLETON_H_
#define _SINGLETON_H_

namespace dxy::easyWebServer
{

template<class T>
class Singleton
{
public:
    static T & getInstance()
    {
        static T instance;
        return instance;
    } 
};

#define slt(className) \
    Singleton<className>::getInstance() \

}


#endif


